#!/bin/sh

for i in $PLIBDIRS # $PLIBDIRS is exported in 2createpackages
do
	[ -d $i ] || continue
	LIBWVFILE="`ls ${i}/libwv*.so.* 2>/dev/null | head -n 1`"
	if [ -e "$LIBWVFILE" ] ; then
		LIBWVFILE=${LIBWVFILE##*/}
		ln -sv $LIBWVFILE ${i}/libwv-1.2.so.3 2>/dev/null
		ln -sv $LIBWVFILE ${i}/libwv-1.2.so.4 2>/dev/null
	fi
done
